package swu.cx.test

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        startbtn.setOnClickListener {
            mouseLoading.startAnim()
            //wait.startAnim()
        }
//        loadbtn.setOnClickListener {
//            loadbtn.startAnim()
//        }
        stop.setOnClickListener {
            mouseLoading.stopAnim()
            //wait.stopAnim()
        }
    }
}